3.4.79 \(\int \frac {(a+a \sin (e+f x))^{7/2}}{(c-c \sin (e+f x))^{11/2}} \, dx\) [379]

Optimal. Leaf size=88 \[ \frac {\cos (e+f x) (a+a \sin (e+f x))^{7/2}}{10 f (c-c \sin (e+f x))^{11/2}}+\frac {\cos (e+f x) (a+a \sin (e+f x))^{7/2}}{80 c f (c-c \sin (e+f x))^{9/2}} \]

[Out]

1/10*cos(f*x+e)*(a+a*sin(f*x+e))^(7/2)/f/(c-c*sin(f*x+e))^(11/2)+1/80*cos(f*x+e)*(a+a*sin(f*x+e))^(7/2)/c/f/(c
-c*sin(f*x+e))^(9/2)

________________________________________________________________________________________

Rubi [A]
time = 0.13, antiderivative size = 88, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.067, Rules used = {2822, 2821} \begin {gather*} \frac {\cos (e+f x) (a \sin (e+f x)+a)^{7/2}}{80 c f (c-c \sin (e+f x))^{9/2}}+\frac {\cos (e+f x) (a \sin (e+f x)+a)^{7/2}}{10 f (c-c \sin (e+f x))^{11/2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(a + a*Sin[e + f*x])^(7/2)/(c - c*Sin[e + f*x])^(11/2),x]

[Out]

(Cos[e + f*x]*(a + a*Sin[e + f*x])^(7/2))/(10*f*(c - c*Sin[e + f*x])^(11/2)) + (Cos[e + f*x]*(a + a*Sin[e + f*
x])^(7/2))/(80*c*f*(c - c*Sin[e + f*x])^(9/2))

Rule 2821

Int[((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_)*((c_) + (d_.)*sin[(e_.) + (f_.)*(x_)])^(n_), x_Symbol] :> Simp
[b*Cos[e + f*x]*(a + b*Sin[e + f*x])^m*((c + d*Sin[e + f*x])^n/(a*f*(2*m + 1))), x] /; FreeQ[{a, b, c, d, e, f
, m, n}, x] && EqQ[b*c + a*d, 0] && EqQ[a^2 - b^2, 0] && EqQ[m + n + 1, 0] && NeQ[m, -2^(-1)]

Rule 2822

Int[((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_)*((c_) + (d_.)*sin[(e_.) + (f_.)*(x_)])^(n_), x_Symbol] :> Simp
[b*Cos[e + f*x]*(a + b*Sin[e + f*x])^m*((c + d*Sin[e + f*x])^n/(a*f*(2*m + 1))), x] + Dist[(m + n + 1)/(a*(2*m
 + 1)), Int[(a + b*Sin[e + f*x])^(m + 1)*(c + d*Sin[e + f*x])^n, x], x] /; FreeQ[{a, b, c, d, e, f, m, n}, x]
&& EqQ[b*c + a*d, 0] && EqQ[a^2 - b^2, 0] && ILtQ[Simplify[m + n + 1], 0] && NeQ[m, -2^(-1)] && (SumSimplerQ[m
, 1] ||  !SumSimplerQ[n, 1])

Rubi steps

\begin {align*} \int \frac {(a+a \sin (e+f x))^{7/2}}{(c-c \sin (e+f x))^{11/2}} \, dx &=\frac {\cos (e+f x) (a+a \sin (e+f x))^{7/2}}{10 f (c-c \sin (e+f x))^{11/2}}+\frac {\int \frac {(a+a \sin (e+f x))^{7/2}}{(c-c \sin (e+f x))^{9/2}} \, dx}{10 c}\\ &=\frac {\cos (e+f x) (a+a \sin (e+f x))^{7/2}}{10 f (c-c \sin (e+f x))^{11/2}}+\frac {\cos (e+f x) (a+a \sin (e+f x))^{7/2}}{80 c f (c-c \sin (e+f x))^{9/2}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 4.26, size = 128, normalized size = 1.45 \begin {gather*} \frac {a^3 \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right ) \sqrt {a (1+\sin (e+f x))} (-14+10 \cos (2 (e+f x))-35 \sin (e+f x)+5 \sin (3 (e+f x)))}{40 c^5 f \left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right ) (-1+\sin (e+f x))^5 \sqrt {c-c \sin (e+f x)}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(a + a*Sin[e + f*x])^(7/2)/(c - c*Sin[e + f*x])^(11/2),x]

[Out]

(a^3*(Cos[(e + f*x)/2] - Sin[(e + f*x)/2])*Sqrt[a*(1 + Sin[e + f*x])]*(-14 + 10*Cos[2*(e + f*x)] - 35*Sin[e +
f*x] + 5*Sin[3*(e + f*x)]))/(40*c^5*f*(Cos[(e + f*x)/2] + Sin[(e + f*x)/2])*(-1 + Sin[e + f*x])^5*Sqrt[c - c*S
in[e + f*x]])

________________________________________________________________________________________

Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(246\) vs. \(2(76)=152\).
time = 17.35, size = 247, normalized size = 2.81

method result size
default \(\frac {\sin \left (f x +e \right ) \left (a \left (1+\sin \left (f x +e \right )\right )\right )^{\frac {7}{2}} \left (\cos ^{5}\left (f x +e \right )+\sin \left (f x +e \right ) \left (\cos ^{4}\left (f x +e \right )\right )-6 \left (\cos ^{4}\left (f x +e \right )\right )+5 \left (\cos ^{3}\left (f x +e \right )\right ) \sin \left (f x +e \right )-17 \left (\cos ^{3}\left (f x +e \right )\right )-22 \sin \left (f x +e \right ) \left (\cos ^{2}\left (f x +e \right )\right )+32 \left (\cos ^{2}\left (f x +e \right )\right )-10 \cos \left (f x +e \right ) \sin \left (f x +e \right )+26 \cos \left (f x +e \right )+36 \sin \left (f x +e \right )-36\right )}{10 f \left (-c \left (\sin \left (f x +e \right )-1\right )\right )^{\frac {11}{2}} \left (\cos ^{4}\left (f x +e \right )+\left (\cos ^{3}\left (f x +e \right )\right ) \sin \left (f x +e \right )+3 \left (\cos ^{3}\left (f x +e \right )\right )-4 \sin \left (f x +e \right ) \left (\cos ^{2}\left (f x +e \right )\right )-8 \left (\cos ^{2}\left (f x +e \right )\right )-4 \cos \left (f x +e \right ) \sin \left (f x +e \right )-4 \cos \left (f x +e \right )+8 \sin \left (f x +e \right )+8\right )}\) \(247\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a+a*sin(f*x+e))^(7/2)/(c-c*sin(f*x+e))^(11/2),x,method=_RETURNVERBOSE)

[Out]

1/10/f*sin(f*x+e)*(a*(1+sin(f*x+e)))^(7/2)*(cos(f*x+e)^5+sin(f*x+e)*cos(f*x+e)^4-6*cos(f*x+e)^4+5*cos(f*x+e)^3
*sin(f*x+e)-17*cos(f*x+e)^3-22*sin(f*x+e)*cos(f*x+e)^2+32*cos(f*x+e)^2-10*cos(f*x+e)*sin(f*x+e)+26*cos(f*x+e)+
36*sin(f*x+e)-36)/(-c*(sin(f*x+e)-1))^(11/2)/(cos(f*x+e)^4+cos(f*x+e)^3*sin(f*x+e)+3*cos(f*x+e)^3-4*sin(f*x+e)
*cos(f*x+e)^2-8*cos(f*x+e)^2-4*cos(f*x+e)*sin(f*x+e)-4*cos(f*x+e)+8*sin(f*x+e)+8)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+a*sin(f*x+e))^(7/2)/(c-c*sin(f*x+e))^(11/2),x, algorithm="maxima")

[Out]

integrate((a*sin(f*x + e) + a)^(7/2)/(-c*sin(f*x + e) + c)^(11/2), x)

________________________________________________________________________________________

Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 175 vs. \(2 (82) = 164\).
time = 0.36, size = 175, normalized size = 1.99 \begin {gather*} -\frac {{\left (5 \, a^{3} \cos \left (f x + e\right )^{2} - 6 \, a^{3} + 5 \, {\left (a^{3} \cos \left (f x + e\right )^{2} - 2 \, a^{3}\right )} \sin \left (f x + e\right )\right )} \sqrt {a \sin \left (f x + e\right ) + a} \sqrt {-c \sin \left (f x + e\right ) + c}}{10 \, {\left (5 \, c^{6} f \cos \left (f x + e\right )^{5} - 20 \, c^{6} f \cos \left (f x + e\right )^{3} + 16 \, c^{6} f \cos \left (f x + e\right ) - {\left (c^{6} f \cos \left (f x + e\right )^{5} - 12 \, c^{6} f \cos \left (f x + e\right )^{3} + 16 \, c^{6} f \cos \left (f x + e\right )\right )} \sin \left (f x + e\right )\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+a*sin(f*x+e))^(7/2)/(c-c*sin(f*x+e))^(11/2),x, algorithm="fricas")

[Out]

-1/10*(5*a^3*cos(f*x + e)^2 - 6*a^3 + 5*(a^3*cos(f*x + e)^2 - 2*a^3)*sin(f*x + e))*sqrt(a*sin(f*x + e) + a)*sq
rt(-c*sin(f*x + e) + c)/(5*c^6*f*cos(f*x + e)^5 - 20*c^6*f*cos(f*x + e)^3 + 16*c^6*f*cos(f*x + e) - (c^6*f*cos
(f*x + e)^5 - 12*c^6*f*cos(f*x + e)^3 + 16*c^6*f*cos(f*x + e))*sin(f*x + e))

________________________________________________________________________________________

Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+a*sin(f*x+e))**(7/2)/(c-c*sin(f*x+e))**(11/2),x)

[Out]

Timed out

________________________________________________________________________________________

Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 176 vs. \(2 (82) = 164\).
time = 0.48, size = 176, normalized size = 2.00 \begin {gather*} \frac {{\left (10 \, a^{3} \sqrt {c} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{6} - 20 \, a^{3} \sqrt {c} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{4} + 15 \, a^{3} \sqrt {c} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} - 4 \, a^{3} \sqrt {c} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )\right )} \sqrt {a}}{80 \, c^{6} f \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{10}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+a*sin(f*x+e))^(7/2)/(c-c*sin(f*x+e))^(11/2),x, algorithm="giac")

[Out]

1/80*(10*a^3*sqrt(c)*sgn(cos(-1/4*pi + 1/2*f*x + 1/2*e))*sin(-1/4*pi + 1/2*f*x + 1/2*e)^6 - 20*a^3*sqrt(c)*sgn
(cos(-1/4*pi + 1/2*f*x + 1/2*e))*sin(-1/4*pi + 1/2*f*x + 1/2*e)^4 + 15*a^3*sqrt(c)*sgn(cos(-1/4*pi + 1/2*f*x +
 1/2*e))*sin(-1/4*pi + 1/2*f*x + 1/2*e)^2 - 4*a^3*sqrt(c)*sgn(cos(-1/4*pi + 1/2*f*x + 1/2*e)))*sqrt(a)/(c^6*f*
sgn(sin(-1/4*pi + 1/2*f*x + 1/2*e))*sin(-1/4*pi + 1/2*f*x + 1/2*e)^10)

________________________________________________________________________________________

Mupad [B]
time = 12.45, size = 317, normalized size = 3.60 \begin {gather*} \frac {\sqrt {c-c\,\sin \left (e+f\,x\right )}\,\left (\frac {a^3\,{\mathrm {e}}^{e\,6{}\mathrm {i}+f\,x\,6{}\mathrm {i}}\,\sqrt {a+a\,\sin \left (e+f\,x\right )}\,112{}\mathrm {i}}{5\,c^6\,f}+\frac {a^3\,{\mathrm {e}}^{e\,6{}\mathrm {i}+f\,x\,6{}\mathrm {i}}\,\sin \left (e+f\,x\right )\,\sqrt {a+a\,\sin \left (e+f\,x\right )}\,56{}\mathrm {i}}{c^6\,f}-\frac {a^3\,{\mathrm {e}}^{e\,6{}\mathrm {i}+f\,x\,6{}\mathrm {i}}\,\cos \left (2\,e+2\,f\,x\right )\,\sqrt {a+a\,\sin \left (e+f\,x\right )}\,16{}\mathrm {i}}{c^6\,f}-\frac {a^3\,{\mathrm {e}}^{e\,6{}\mathrm {i}+f\,x\,6{}\mathrm {i}}\,\sin \left (3\,e+3\,f\,x\right )\,\sqrt {a+a\,\sin \left (e+f\,x\right )}\,8{}\mathrm {i}}{c^6\,f}\right )}{\cos \left (e+f\,x\right )\,{\mathrm {e}}^{e\,6{}\mathrm {i}+f\,x\,6{}\mathrm {i}}\,264{}\mathrm {i}-{\mathrm {e}}^{e\,6{}\mathrm {i}+f\,x\,6{}\mathrm {i}}\,\cos \left (3\,e+3\,f\,x\right )\,220{}\mathrm {i}+{\mathrm {e}}^{e\,6{}\mathrm {i}+f\,x\,6{}\mathrm {i}}\,\cos \left (5\,e+5\,f\,x\right )\,20{}\mathrm {i}-{\mathrm {e}}^{e\,6{}\mathrm {i}+f\,x\,6{}\mathrm {i}}\,\sin \left (2\,e+2\,f\,x\right )\,330{}\mathrm {i}+{\mathrm {e}}^{e\,6{}\mathrm {i}+f\,x\,6{}\mathrm {i}}\,\sin \left (4\,e+4\,f\,x\right )\,88{}\mathrm {i}-{\mathrm {e}}^{e\,6{}\mathrm {i}+f\,x\,6{}\mathrm {i}}\,\sin \left (6\,e+6\,f\,x\right )\,2{}\mathrm {i}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + a*sin(e + f*x))^(7/2)/(c - c*sin(e + f*x))^(11/2),x)

[Out]

((c - c*sin(e + f*x))^(1/2)*((a^3*exp(e*6i + f*x*6i)*(a + a*sin(e + f*x))^(1/2)*112i)/(5*c^6*f) + (a^3*exp(e*6
i + f*x*6i)*sin(e + f*x)*(a + a*sin(e + f*x))^(1/2)*56i)/(c^6*f) - (a^3*exp(e*6i + f*x*6i)*cos(2*e + 2*f*x)*(a
 + a*sin(e + f*x))^(1/2)*16i)/(c^6*f) - (a^3*exp(e*6i + f*x*6i)*sin(3*e + 3*f*x)*(a + a*sin(e + f*x))^(1/2)*8i
)/(c^6*f)))/(cos(e + f*x)*exp(e*6i + f*x*6i)*264i - exp(e*6i + f*x*6i)*cos(3*e + 3*f*x)*220i + exp(e*6i + f*x*
6i)*cos(5*e + 5*f*x)*20i - exp(e*6i + f*x*6i)*sin(2*e + 2*f*x)*330i + exp(e*6i + f*x*6i)*sin(4*e + 4*f*x)*88i
- exp(e*6i + f*x*6i)*sin(6*e + 6*f*x)*2i)

________________________________________________________________________________________